package BC68_X形图案;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()){
            int num = sc.nextInt();

            String[][] a = new String[num][num];
            for (int i = 0; i < num; i++) {
                for (int j = 0; j < num; j++) {
                    a[i][j] = " ";
                }
            }
            for (int i = 0; i < num; i++){
                for (int j =0; j < num; j++){
                    if (i == j){
                        a[i][j] = "*";
                    }
                    if (i == (num - j - 1)){
                        a[i][j] = "*";
                    }
                }
            }
            for (int i = 0; i < num; i++) {
                for (int j = 0; j < num; j++) {
                    System.out.printf(a[i][j]);
                }
                System.out.println();
            }
        }
    }

}
